Trustworthy variant derivation with translation validation for safety critical product lines
نویسندگان
چکیده
Software product line (SPL) engineering facilitates development of entire families of software products with systematic reuse. Model driven SPLs use models in the design and development process. In the safety critical domain, validation of models and testing of code increases the quality of the products altogether. However, to maintain this trustworthiness it is necessary to know that the SPL tools, which manipulate models and code to derive concrete product variants, do not introduce errors in the process. We propose a general technique of checking correctness of product derivation tools through translation validation. We demonstrate it using Featherweight VML–a core language for separate variability modeling relying on a single kind of variation point to define transformations of artifacts seen as object models. We use Featherweight VML with its semantics as a correctness specification for validating outputs of a variant derivation tool. We embed this specification in the theorem proving system Coq and develop an automatic generator of correctness proofs for translation results within Coq. We show that the correctness checking procedure is decidable, which allows the trustworthy proof checker of Coq to automatically verify runs of a variant derivation tool for correctness. We demonstrate how such a simple validation system can be constructed, by using this to validate variant derivation of a simple variability model implementation based on the Eclipse Modeling Framework. We hope that this presentation will encourage other researchers to use translation validation to validate more complex correctness properties in handling variability, as well as demonstrate to commercial tool vendors that formal verification can be introduced into their tools in a very lightweight manner. IThis article is a full version of the extended abstract presented at the 25th Nordic Workshop on Programming Theory, NWPT 2013, in Tallinn. Email addresses: [email protected] (Alexandru F. Iosif-Lazăr), [email protected] (Andrzej Wąsowski) 1Supported by ARTEMIS JU under grant agreement n◦ 295397 and by Danish Agency for Science, Technology and Innovation Preprint submitted to Journal of Logical and Algebraic Methods in ProgrammingJuly 11, 2016
منابع مشابه
Automating Staged Product Derivation for Heterogeneous Multi-Product-Lines
Software constitutes a major cost factor when developing technical systems. To reduce this cost, systematic reuse of assets is necessary from early on when developing similar products—an approach that has become known as software product line engineering. The automation of product derivation, that is, the automated product creation from core assets, is one of the success factors of product line...
متن کاملKey activities for product derivation in software product lines
More and more organizations adopt software product lines to leverage extensive reuse and deliver a multitude of benefits such as increased quality and productivity and a decrease in cost and time-to-market of their software development. When compared to the vast amount of research on developing product lines, relatively little work has been dedicated to the actual use of product lines to derive...
متن کاملThe Specification and Verified Decomposition of System Requirements Using CSP
An important principle of building trustworthy systems is to rigorously analyze the critical requirements early in the development process, even before starting system design. Existing proof methods for systems of communicating processes focus on the bottom-up composition of component-level specifications into system-level specifications. Trustworthy system development requires, instead, the to...
متن کاملA Product Derivation Tool Based on Model-Driven Techniques and Annotations
In this paper, we present a model-based tool for product derivation. Our tool is centered on the definition of three models (feature, architecture and configuration models) which enable the automatic instantiation of software product lines (SPLs) or frameworks. The Eclipse platform and EMF technology are used as the base for the implementation of our tool. A set of specific Java annotations are...
متن کاملPerceived Maternal Parenting Self-Efficacy (PMP S-E) Tool: Translation and Face Validation with Iranian Mothers of Hospitalized Preterm Neonates
Objectives: Mothers’ perception of their ability to parenting (maternal parenting self-efficacy) is a critical issue that influences their interactions with their preterm neonates. For better support of these mothers, a robust tool is needed which can measure mothers’ perception of their ability to understand and care for their preterm neonates as well as being sensitive to the various levels a...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Log. Algebr. Meth. Program.
دوره 85 شماره
صفحات -
تاریخ انتشار 2016